<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="shortcut icon" type="image/x-icon" href="/images/logo.ico" />
    <link rel="stylesheet" type="text/css" href="/layui/css/layui.css?v=202001010101" />
    <link rel="stylesheet" type="text/css" href="/css/font-awesome.min.css?v=202001010101" />
    <link rel="stylesheet" type="text/css" href="/css/jquery-ui.css?v=202001010101">
    <link rel="stylesheet" type="text/css" href="/css/style.css?v=202001010101">
    <link rel="stylesheet" type="text/css" href="/fund/css/style.css?v=202001010101">
    <style type="text/css">
        .red{color: #ff0000;}
        .green{color: #008000;}
    </style>
</head>
<body>
<div class="page">
    <div class="tsf-query">
        <form class="layui-form query-form no-title" method="post" lay-filter="queryForm">
            <div class="layui-row">
                <div class="layui-col-md3">
                    <input type="text" name="code" id="code" class="layui-input" placeholder="请输入代码、名称或拼音">
                </div>
                <div class="layui-col-md9 tsf-operation">
                    <div class="layui-btn-group operation-btn">
                        <button type="button" class="layui-btn layui-btn-sm" id="btn_buy"><i class="fa fa-exchange"></i> 买入</button>
                    </div>
                </div>
            </div>
        </form>
    </div>
    <div class="layui-row mt10">
        <table class="layui-hide" id="table-list" lay-filter="table-list"></table>
    </div>
</div>
<script type="text/html" id="tpl_name">
    <a href="http://fund.eastmoney.com/{{d.id}}.html" class="def-a" target="_blank">{{d.name}}</a>
</script>
<script type="text/html" id="tpl_estimate_rise">
    {{# if(d.estimateRise>=0){ }}
    <span class="red">{{d.estimateRise}}%</span>
    {{# }else{ }}
    <span class="green">{{d.estimateRise}}%</span>
    {{# } }}
</script>
<script type="text/html" id="tpl_daily_growth">
    {{# if(d.dailyGrowth>=0){ }}
    <span class="red">{{d.dailyGrowth}}%</span>
    {{# }else{ }}
    <span class="green">{{d.dailyGrowth}}%</span>
    {{# } }}
</script>
<script type="text/html" id="tpl_up_and_down">
    {{# if(d.upAndDown>=0){ }}
    <span class="red">{{d.upAndDown}}% ({{d.upAndDownDay}}天)</span>
    {{# }else{ }}
    <span class="green">{{d.upAndDown}}% ({{d.upAndDownDay}}天)</span>
    {{# } }}
</script>
<script type="text/javascript" src="/js/jquery.min.js?v=202001010101"></script>
<script type="text/javascript" src="/js/jquery-ui.min.js?v=202001010101"></script>
<script type="text/javascript" src="/layui/layui.js?v=202001010101"></script>
<script type="text/javascript" src="/js/app.js?v=202006010928"></script>
<script type="text/javascript" src="/fund/js/app.js?v=202001010101"></script>
<script type="text/javascript" src="/fund/index.js?v=202001010101"></script>
</body>
</html>